﻿using System.ComponentModel.DataAnnotations;

namespace IS_Ever_Green.DataAccess.Model
{
    public class OrderItemModel
    {
        [Key]
        public int OrderItemId { get; set; }

        public int OrderId { get; set; }

        public int ProductId { get; set; }

        public int Quantity { get; set; }


        public OrderModel Order { get; set; }
        public ProductModel Product { get; set; }
    }
}
